/*
 * Copyright (C) 2019 xuexiangjys(xuexiangjys@163.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.xuexiang.xgithubclient.core.http;

/**
 * @author xuexiang
 * @since 2019-07-02 00:08
 */
public final class GithubUrl {

    public final static String GITHUB_BASE_URL = "https://github.com/";

    public final static String GITHUB_API_BASE_URL = "https://api.github.com/";

    public final static String GITHUB_CONTENT_BASE_URL = "https://raw.githubusercontent.com/";

    public final static String OAUTH2_URL = GITHUB_BASE_URL + "login/oauth/authorize";

    //=============//

    public final static String AUTHORIZATIONS_URL = GITHUB_API_BASE_URL + "authorizations";

    public final static String GET_USER_URL = GITHUB_API_BASE_URL + "user";


}
